﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Presentation/Main2.Master" AutoEventWireup="true" CodeBehind="Admin_EditMovie1.aspx.cs" Inherits="YAMN_Cinemas.Presentation.Admin_EditMovie1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <tr>
        <td>
<br />
    <table class="style1">
        <tr>
            <td style="text-align: center">
                <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="XX-Large" 
                    Text="Edit  Movie" ForeColor="Red"></asp:Label>
            </td>
        </tr>
    </table>
    <br />
    &nbsp;<br />
    <br /><center>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        DataKeyNames="MovieID" DataSourceID="ObjectDataSource1" 
        style="text-align: center">
        <Columns>
            <asp:BoundField DataField="MovieID" HeaderText="MovieID" InsertVisible="False" 
                ReadOnly="True" SortExpression="MovieID" />
            <asp:BoundField DataField="ScreenID" HeaderText="ScreenID" 
                SortExpression="ScreenID" />
            <asp:BoundField DataField="STID" HeaderText="STID" SortExpression="STID" />
            <asp:BoundField DataField="Movie_Title" HeaderText="Movie_Title" 
                SortExpression="Movie_Title" />
            <asp:BoundField DataField="Language" HeaderText="Language" 
                SortExpression="Language" />
            <asp:BoundField DataField="Duration" HeaderText="Duration" 
                SortExpression="Duration" />
            <asp:BoundField DataField="Summary" HeaderText="Summary" 
                SortExpression="Summary" />
            <asp:BoundField DataField="FromDate" HeaderText="FromDate" 
                SortExpression="FromDate" />
            <asp:BoundField DataField="ToDate" HeaderText="ToDate" 
                SortExpression="ToDate" />
            <asp:CommandField ShowEditButton="True" />
        </Columns>
    </asp:GridView></center>
    &nbsp;&nbsp;
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
        DeleteMethod="Delete" InsertMethod="Insert" 
        OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" 
        TypeName="YAMN_Cinemas.MovieDataSetTableAdapters.MoviesTableAdapter" 
        UpdateMethod="Update">
        <DeleteParameters>
            <asp:Parameter Name="Original_MovieID" Type="Int64" />
        </DeleteParameters>
        <InsertParameters>
            <asp:Parameter Name="ScreenID" Type="Int64" />
            <asp:Parameter Name="STID" Type="Int64" />
            <asp:Parameter Name="Movie_Title" Type="String" />
            <asp:Parameter Name="Language" Type="String" />
            <asp:Parameter Name="Duration" Type="String" />
            <asp:Parameter Name="Summary" Type="String" />
            <asp:Parameter Name="FromDate" Type="DateTime" />
            <asp:Parameter Name="ToDate" Type="DateTime" />
        </InsertParameters>
        <UpdateParameters>
            <asp:Parameter Name="ScreenID" Type="Int64" />
            <asp:Parameter Name="STID" Type="Int64" />
            <asp:Parameter Name="Movie_Title" Type="String" />
            <asp:Parameter Name="Language" Type="String" />
            <asp:Parameter Name="Duration" Type="String" />
            <asp:Parameter Name="Summary" Type="String" />
            <asp:Parameter Name="FromDate" Type="DateTime" />
            <asp:Parameter Name="ToDate" Type="DateTime" />
            <asp:Parameter Name="Original_MovieID" Type="Int64" />
        </UpdateParameters>
    </asp:ObjectDataSource>
    <div>
    
    </div>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <div style="margin-left: 920px">
        <asp:Button ID="Button1" runat="server" Text="Cancel" Width="95px" 
                onclick="Button1_Click" />
</div>
        </td>
    </tr>
</asp:Content>
